import React, { Component } from 'react'
import Maindiv from './components/mainDiv'
import './jingxuan.scss'
export default class nvzhuang extends Component {
  constructor(){
    super()
    this.state={
      mainlist:[{
        'id':0,
        'src':'https://d.vpimg1.com/upcb/2019/12/11/198/ias_b842ff50-88cf-4aa1-aacf-0daf57f6edf3_570x273_90.jpg',
        'title':'BOY LONDON/Champion男女装专场',
        'red_txt':3.6,
        'text':'折起'
      },
      {
        'id':1,
        'src':'https://d.vpimg1.com/upcb/2019/11/28/132/ias_0f1ec0dd-df88-4abf-8928-9b15cd3e47d0_570x273_90.jpg',
        'title':'Calvin Klein特卖专场',
        'red_txt':1,
        'text':'折起'
      },
      {
        'id':2,
        'src':'https://d.vpimg1.com/upcb/2019/11/26/0/ias_c729fb59-e18c-4017-b240-9ba33f2d6aae_570x273_90.jpg',
        'title':'杰尼威尼男装精选专场',
        'red_txt':3.9,
        'text':'折封顶'
      },
      {
        'id':3,
        'src':'https://d.vpimg1.com/upcb/2019/11/25/62/ias_c82bd184-928a-40b3-b7de-01be88897d87_570x273_90.jpg',
        'title':"C'N'C/FERRE男装专场",
        'red_txt':1.3,
        'text':'折起'
      }]
    }
  }
  render() {
    return (
      <div className='main jingxuan' id='nanzhuang'>
        <img src='https://a.vpimg3.com/upload/dop/2018/02/01/196/men_hhqx.png' alt='' />
        <hr />
        <div className='jx_xq'>
          {this.state.mainlist.map(el=>{
            return <Maindiv key={el.id} mainlist={el}></Maindiv>
          })}
        </div>
      </div>
    )
  }
}
